A linear-time algorithm for radius-optimally augmenting paths in a metric space
نویسندگان
چکیده
Let P be a path graph of n vertices embedded in metric space. We consider the problem adding new edge to minimize radius resulting graph. Previously, similar for minimizing diameter was solved O(nlog?n) time. To best our knowledge, has not been studied before. In this paper, we present an O(n) time algorithm problem, which is optimal.
منابع مشابه
An Improved Algorithm for Diameter-Optimally Augmenting Paths in a Metric Space
Let P be a path graph of n vertices embedded in a metric space. We consider the problem of adding a new edge to P such that the diameter of the resulting graph is minimized. Previously (in ICALP 2015) the problem was solved in O(n log3 n) time. In this paper, based on new observations and different algorithmic techniques, we present an O(n logn) time algorithm.
متن کاملFast Algorithms for Diameter-Optimally Augmenting Paths
We consider the problem of augmenting a graph with n vertices embedded in a metric space, by inserting one additional edge in order to minimize the diameter of the resulting graph. We present an exact algorithm for the cases when the input graph is a path that runs in O(n log n) time. We also present an algorithm that computes a (1 + ε)approximation in O(n+1/ε) time for paths in R, where d is a...
متن کاملFast Algorithms for Diameter-Optimally Augmenting Paths and Trees
We consider the problem of augmenting an n-vertex graph embedded in a metric space, by inserting one additional edge in order to minimize the diameter of the resulting graph. We present exact algorithms for the cases when (i) the input graph is a path, running in O(n log n) time, and (ii) the input graph is a tree, running in O(n2 logn) time. We also present an algorithm for paths that computes...
متن کاملa time-series analysis of the demand for life insurance in iran
با توجه به تجزیه و تحلیل داده ها ما دریافتیم که سطح درامد و تعداد نمایندگیها باتقاضای بیمه عمر رابطه مستقیم دارند و نرخ بهره و بار تکفل با تقاضای بیمه عمر رابطه عکس دارند
Time and Space Complexity Reduction of a Cryptanalysis Algorithm
Binary Decision Diagram (in short BDD) is an efficient data structure which has been used widely in computer science and engineering. BDD-based attack in key stream cryptanalysis is one of the best forms of attack in its category. In this paper, we propose a new key stream attack which is based on ZDD(Zero-suppressed BDD). We show how a ZDD-based key stream attack is more efficient in time and ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Computational Geometry: Theory and Applications
سال: 2021
ISSN: ['0925-7721', '1879-081X']
DOI: https://doi.org/10.1016/j.comgeo.2021.101759